/*
* @Author: shenyanqiu
* @Date:   2017-12-05 17:25:45
* @Last Modified by:   shenyanqiu
* @Last Modified time: 2017-12-05 17:36:15
*/
import styles from './TopRightButton.less'

class TopRightButton extends React.Component {
  buttonClickHandle = ()=>{
    this.props.clickHandle();
  }
  render() {
    return (
      <div>
        <span className={styles.addToNotice} onClick={this.buttonClickHandle}>{this.props.contentText}</span>
      </div>
    );
  }
}

export default TopRightButton;
